// import { request } from "@/utils/request";
import { request } from "../../utils/http";

export const diseaseApi = {
  /**@description 获取所有的疾病标签 */
  getAllTips: () => {
    return request.post<
      {
        id: string;
        name: string;
        count: number;
      }[]
    >("/api/getLabelAndResidentCount");
  },
};
